package com.lbc.bean.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.lbc.bean.pojo.Page;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import springfox.documentation.annotations.ApiIgnore;

import javax.validation.constraints.AssertFalse;
import javax.validation.constraints.NotNull;

/**
 * @author xyl
 * @date 2021-03-26 14:21
 */
@Data
public class KidSearchDTO extends Page {

    @ApiModelProperty("1.管理员 2.爱心人士 3.学校 4.爱心机构 5.父母")
    private Integer roleId;

    @ApiModelProperty("根据学校名称  模糊搜索")
    private String searchSchoolName;

    @ApiModelProperty("根据儿童名称  模糊搜索")
    private String searchKidName;

    @ApiModelProperty(value = "1.只搜自己的; , 不填搜索全部  管理员填")
    private Integer state;

    @ApiModelProperty("根据学校Id")
    private Integer schoolId;

    @ApiParam(hidden = true)
    private Integer userId;

    @ApiParam(hidden = true)
    private Integer parentId;

}
